package com.example.demo.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

@Data
public class Cart {
   @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer cId;
    private Integer spu;
    private Integer sku;
    private Integer num;
    private Object price;
    @TableField(fill = FieldFill.INSERT) //创建时自动填充
    private Date createTime;
    private Integer status;


}
